package com.thinkgem.jeesite.modules.book.service;

import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.book.dao.BookPublisherDao;
import com.thinkgem.jeesite.modules.book.entity.BkPublisher;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 采购Controller
 *
 * @author zc
 * @version 2013-11-03
 */
@Service
@Transactional(readOnly = true)
public class BookPublisherService extends CrudService<BookPublisherDao, BkPublisher>{

    public List<BkPublisher> findAll(){
        return dao.findAll();
    }
}
